package org.zty.common;

import org.zty.util.PropertyUtil;

public interface Constants {

	public int DEFAULT_PAGE_INDEX = 1;
	
	public int DEFAULT_PAGE_SIZE = 15;
	
	public String CONFIG_FILE_NAME = "config.properties";
	
	public String DEFAULT_UPLOAD_TEMP_PATH = PropertyUtil.readConfigValue("upload_temp_path");
	
	public String DEFAULT_UPLOAD_PATH = PropertyUtil.readConfigValue("upload_path");

	public String DEFAULT_UPLOAD_REJECT_FILE = PropertyUtil.readConfigValue("upload_reject_file");
	
	/**
	 * 业务配置
	 */
	
	//页码
	public String DEFAULT_PAGE_CODES[] = PropertyUtil.readConfigValue("page_codes").split(",");
	//答案
	public String DEFAULT_ANSWER_CODES[] = PropertyUtil.readConfigValue("answer_codes").split(",");
}
